[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:55:26 +0000 (15:55 +0200)
committerMatthias Klose <doko@debian.org>
Tue, 17 Dec 2024 10:19:10 +0000 (11:19 +0100)
commit8e20849d6ccbe2acd384daa9bd49cd7aab8fffed
tree3c5addeb6118f6081d424c10f94ca0ed4f38abfe
parent713830dc09d553dfbd3375716acdcb125b13293a
[PATCH] [clang] cmake: resolve symlinks in ClangConfig.cmake

Ensure that symlinks such as /usr/lib/cmake/clang-X.Y (pointing to
/usr/lib/llvm-X.Y/lib/cmake/llvm) are resolved. This ensures that
CLANG_INSTALL_PREFIX ends up to be /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch
cmake/Modules/FindPrefixFromConfig.cmake